package com.gzxx.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author MAX
 * @date 2020/7/24 9:44 上午
 */

@Data
@ApiModel(value = "角色返回数据传输实体", description = "角色返回数据传输实体")
public class SysRoleVo implements Serializable {

    private static final long serialVersionUID = 3455287964897379119L;

    @ApiModelProperty(value = "id", example = "12")
    private Long id;

    @ApiModelProperty(value = "角色名称", example = "管理员")
    private String roleName;

    @ApiModelProperty(value = "角色描述", example = "管理员")
    private String roleDesc;

    @ApiModelProperty(value = "状态：0启用 1禁用", example = "0")
    private Integer status;

    @ApiModelProperty(value = "关联菜单信息", example = "[1,2]")
    private List<Long> menuIds;

    @ApiModelProperty(value = "创建时间", example = "2020-09-09 09:09;09")
    private String createTime;
}
